<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
</head>
<body>
<P>重定向</P>
<form method="post" action="/day05_SpringMvcDemo1/login1">
    用户名:<input type="text" name="userName"><br>
    密码:<input type="text" name="passWord">
    <br>
    <input type="submit" value="登录">
    <input type="reset" value="取消">
</form>
<p>请求转发</p>
<form method="post" action="/day05_SpringMvcDemo1/login2">
    用户名:<input type="text" name="userName"><br>
    密码:<input type="text" name="passWord">
    <br>
    <input type="submit" value="登录">
    <input type="reset" value="取消">
</form>
</body>
</html>
